using System; 
using System.Collections.Generic; 
using System.Text; 
using FluentNHibernate.Mapping;
using Water.Model; 

namespace Water.Data.Repositories.Mappings {
    
    
    public class ExplosionAccidentMap : ClassMap<ExplosionAccident> {
        
        public ExplosionAccidentMap() {
			Table("Tbt_ExplosionAccident");
			Id(x => x.MRNO).GeneratedBy.Assigned().Column("MRNO");
			Map(x => x.EpcNo).Column("EpcNO").Not.Nullable();
			Map(x => x.ExplodeDt).Column("ExplodeDt").Not.Nullable();
			Map(x => x.ExplodeAddress).Column("ExplodeAddress");
			Map(x => x.OpertionEmp).Column("OpertionEmp").Not.Nullable();
			Map(x => x.CreateDt).Column("CreateDt").ReadOnly();
        }
    }
}
